package com.example.swaggerDemo.Dao;

import com.example.swaggerDemo.entity.MsgEntity;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.servlet.ModelAndView;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.Map;

public interface WxpayDao {
    MsgEntity webPay(

            @RequestParam("title") String title,
            @RequestParam("openId") String openId,
            @RequestParam("ip") String ip,
            @RequestParam("notify_url") String notify_url,
            @RequestParam("money") String money,
            @RequestParam("orderId") String orderId
    );


    public  Map<String, String> getWxConfig(HttpServletRequest request, HttpServletResponse response);
}
